import request from './requser.js';

// export const testHtml = params => request({ url: '/test.html', method: 'get', params })

//Banner
export const getBannerUrl = params => request({ url: '/banner', method: 'get', params })

//热门推荐
export const personalized = params => request({ url: '/personalized', method: 'get', params })

//新碟上架
export const NewDisc = params => request({ url: '/top/album', method: 'get', params })

//推荐榜单
export const recommendList = params => request({ url: '/toplist/detail', method: 'get', params })

//歌手
export const gerSinger = params => request({ url: '/top/artists', method: 'get', params })

//主播
export const geranchor = params => request({ url: '/dj/toplist/popular', method: 'get', params })

//获取歌单详情
export const songSheetDetail = params => request({ url: '/playlist/detail', method: 'get', params })

//获取歌词
export const getLyric = params => request({ url: '/lyric', method: 'get', params })

//获取国家码
export const countryCode = params => request({ url: '/countries/code/list', method: 'get', params })

//获取验证码
export const getCode = params => request({ url: '/captcha/sent', method: 'get', params })

//验证码验证
export const verify = params => request({ url: '/captcha/verify', method: 'get', params })

//检查手机号是否注册
export const isRegister = params => request({ url: '/cellphone/existence/check', method: 'get', params })

//手机号登录
export const phoneLogin = params => request({ url: '/login/cellphone', method: 'get', params })

//邮箱登录
export const emailLogin = params => request({ url: '/login', method: 'get', params })

//注册和修改密码
export const register = params => request({ url: '/register/cellphone', method: 'get', params })

//获取用户详情
export const getUserInfo = params => request({ url: '/user/detail', method: 'get', params })

//获取账号信息
export const getAccountNumberDetail = params => request({ url: '/user/account', method: 'get', params })

//获取账号等级
export const getLevel = params => request({ url: '/user/level', method: 'get', params })

//获取歌单详情
export const getSongSheetDetail = params => request({ url: '/playlist/detail', method: 'get', params })

//获取歌单评论
export const songSheetComment = params => request({ url: '/comment/playlist', method: 'get', params })

//发送评论
export const addComment = params => request({ url: '/comment', method: 'get', params })

//点赞和取消点赞
export const fabulous = params => request({ url: '/comment/like', method: 'get', params })

//歌单收藏者
export const liveSongSheetUser = params => request({ url: '/playlist/subscribers', method: 'get', params })

//相关歌单推荐
export const relevantSongSheet = params => request({ url: '/related/playlist', method: 'get', params })

//获取歌曲详情
export const musicDetail = params => request({ url: '/song/detail', method: 'get', params })

//获取歌曲評論
export const musicComment = params => request({ url: '/comment/music', method: 'get', params })

//获取相似音乐
export const beSimilarMusic = params => request({ url: '/simi/song', method: 'get', params })

//获取相似歌单
export const beSimilarSongSheet = params => request({ url: '/simi/playlist', method: 'get', params })

//所有榜单
export const RankingList = params => request({ url: '/toplist', method: 'get', params })

//获取用户歌单
export const userSongSheet = params => request({ url: '/user/playlist', method: 'get', params })

//获取用户信息 , 歌单，收藏，mv, dj 数量
export const getUserMusic = params => request({ url: '/user/subcount', method: 'get', params })

//新建歌单
export const addSongSheet = params => request({ url: '/playlist/create', method: 'get', params })

//对歌单添加或删除歌曲
export const collectionMusic = params => request({ url: '/playlist/tracks', method: 'get', params })

//歌单分类
export const SongListClassification = params => request({ url: '/playlist/catlist', method: 'get', params })

//歌单分类内容获取
export const SongListContent = params => request({ url: '/top/playlist', method: 'get', params })

//歌单分类内容获取
export const radioStationType = params => request({ url: '/dj/catelist', method: 'get', params })

//推荐节目
export const recommendProgram = params => request({ url: '/program/recommend', method: 'get', params })

//节目排行
export const programRanking = params => request({ url: '/dj/program/toplist', method: 'get', params })

//优秀新电台
export const excellentRadioStation = params => request({ url: '/dj/recommend/type', method: 'get', params })

//电台 - 类别热门电台
export const radioCharts = params => request({ url: '/dj/radio/hot', method: 'get', params })

//电台 - 详情
export const radioStationDetail = params => request({ url: '/dj/detail', method: 'get', params })

//电台 - 节目
export const radioStationDetailmp3 = params => request({ url: '/dj/program', method: 'get', params })

//电台 - 喜欢的电台
export const radioStationLike = params => request({ url: '/dj/radio/hot', method: 'get', params })

//电台 - 电台音频路径
export const radioStationUrl = params => request({ url: '/song/url', method: 'get', params })

//电台 - 节目详情
export const programDetail = params => request({ url: '/dj/program/detail', method: 'get', params })

//电台 - 节目评论
export const programComment = params => request({ url: '/comment/dj', method: 'get', params })

//歌手分类
export const singerClassify = params => request({ url: '/artist/list', method: 'get', params })

//歌手详情
export const singerDetail = params => request({ url: '/artist/desc', method: 'get', params })

//获取歌手单曲
export const singerMusic = params => request({ url: '/artists', method: 'get', params })

//获取歌手专辑
export const getAlbum = params => request({ url: '/artist/album', method: 'get', params })

//获取歌手 mv
export const singerMv = params => request({ url: '/artist/mv', method: 'get', params })

//获取专辑信息
export const albumDetail = params => request({ url: '/album', method: 'get', params })

//获取专辑评论
export const albumComment = params => request({ url: '/comment/album', method: 'get', params })

//全部新碟
export const albumnew = params => request({ url: '/album/new', method: 'get', params })

//收藏的歌手列表
export const liveSinger = params => request({ url: '/artist/sublist', method: 'get', params })

//获取用户电台
export const myLiveDj = params => request({ url: '/dj/sublist', method: 'get', params })

//删除歌单
export const delPlaylist = params => request({ url: '/playlist/delete', method: 'get', params })

//收藏/取消收藏歌单
export const PassPlaylist = params => request({ url: '/playlist/subscribe', method: 'get', params })

//搜索
export const Search = params => request({ url: '/cloudsearch', method: 'get', params })

//获取用户动态
export const getDynamic = params => request({ url: '/user/event', method: 'get', params })

//获取用户关注列表
export const getFollows = params => request({ url: '/user/follows', method: 'get', params })

//获取用户粉丝列表
export const getFolloweds = params => request({ url: '/user/followeds', method: 'get', params })

// @我的
export const getmy = params => request({ url: '/msg/forwards', method: 'get', params })

// 通知 - 私信
export const privatesrc = params => request({ url: '/msg/private', method: 'get', params })

// 通知 - 评论
export const msgComments = params => request({ url: '/msg/comments', method: 'get', params })

// 通知 - 通知
export const msgNotices = params => request({ url: '/msg/notices', method: 'get', params })

// 获取动态
export const dynamic = params => request({ url: '/event', method: 'get', params })

